/**
 * 接口地址配置文件
 */

const BASE = '/wpsadmin/';
const COLLECT = '/wpscollect/'; //数据统计
const UPDATEPRO = '/'; //升级管理
const UPDATEPROTEST = '/updatepro/'; //升级管理-

/***************************基础模块 Start**************************************/

export const LOGIN = BASE + 'login'; //登录
export const LOGOUT = BASE + 'logout'; //退出

/***************************基础模块 End****************************************/

/***************************系统管理模块 Start**********************************/

/* 用户管理 */
export const USER_GET_PAGE =  BASE + 'sys/user/get/page';//分页查询用户
export const USER_GET_BY_ID = BASE + 'sys/user/get/';//根据id查询用户
export const USER_SAVE_OR_EDIT = BASE + 'sys/user/save';//添加或编辑用户
export const USER_DELETE = BASE + 'sys/user/delete/';//根据id删除用户
export const USER_VALIDATOR = BASE + 'sys/user/save/validator';//验证用户名
export const USER_UPDATE_PWD = BASE + 'sys/user/updatePassword';//修改密码
export const USER_SAVE_GO = `${BASE}sys/user/get/save/go`;//添加编辑查询

/* 角色管理 */
export const ROLE_GET_PAGE = BASE + 'sys/role/get/page';//分页查询角色
export const ROLE_GET_BY_ID = BASE + 'sys/role/get/';//根据id查询角色
export const ROLE_SAVE_OR_EDIT = BASE + 'sys/role/save';//添加或者编辑角色
export const ROLE_DELETE = BASE + 'sys/role/delete/';//根据id删除角色
export const ROLE_VALIDATOR = BASE + 'sys/role/save/validator';//验证角色名
export const ROLE_SAVE_GO = `${BASE}sys/role/get/save/go`;//编辑添加查询

/*资源管理*/
export const PERMISSION_GET_ALL = BASE + 'sys/permission/get/all';//查询全部资源列表
export const PERMISSION_GET_BY_ID = BASE + 'sys/permission/get/';//根据id查询资源
export const PERMISSION_SAVE_OR_EDIT = BASE + 'sys/permission/save';//添加或者编辑资源
export const PERMISSION_DELETE = BASE + 'sys/permission/delete/';//根据id删除资源
export const PERMISSION_VALIDATOR = BASE + 'sys/permission/save/validator';//验证权限标识

/* 分级管理 */
export const COMPANY_GET_ALL = BASE + 'api/company/get/all';//分页查询
export const COMPANY_GET_PAGE = BASE + 'sys/company/get/page';//分页查询
export const COMPANY_GET_BY_ID = BASE + 'sys/company/get/';//根据id查询
export const COMPANY_SAVE_OR_EDIT = BASE + 'sys/company/save';//添加或者编辑
export const COMAPNY_DELETE = BASE + 'sys/company/delete/';//根据id删除
export const COMPANY_VALIDATOR = BASE + 'sys/company/save/validator';//验证
export const COMPANY_IMPORT = BASE + 'sys/company/save/import';//批量导入
export const COMPANY_EXPORT = BASE + 'sys/company/get/export';//导出
export const COMPANY_INVALIDATE = COLLECT + 'wps/company/invalidate';//重载缓存

//操作日志管理
export const LOG_GET_PAGE = BASE + 'sys/log/get/page';//分页查询日志日志信息
/***************************系统管理模块 End************************************/

/***************************数据统计 Start************************************/

/* 报活信息 */
export const USAGE_DAILYCHART = COLLECT + 'wps/usage/dailyChart';//日报活分部汇总
export const USAGE_DAILYCHART_WITHIP = COLLECT + 'wps/usage/dailyChartWithIp';//日报活分部详细
export const USAGE_MONTHCHART = COLLECT + 'wps/usage/monthChart';//月报活分部汇总
export const USAGE_MONTHCHART_WITHIP = COLLECT + 'wps/usage/monthChartWithIp';//月报活分部详细

/* 升级信息 */
//请求信息
export const ALL_REQUEST_MONTH = `${COLLECT}wps/updateRequest/monthChart`;//各分部月请求数据
export const CURRENT_REQUEST_DAILY = `${COLLECT}wps/updateRequest/dailyChartWithIp`;//当前分部日请求数据
//下载信息
export const CURRENT_DOWNLOAD_DAILY = `${COLLECT}wps/updateDownload/dailyChartWithIp`;//分部日下载数据
//安装信息
export const CURRENT_INSTALL_DAILY = `${COLLECT}wps/updateInstall/dailyChartWithIp`;//分部日安装数据

/* 安装量信息 */
export const LOGINSTALL_DAILYCHART = COLLECT + 'wps/logInstall/dailyChart';//日安装量分部汇总
export const LOGINSTALL_DAILYCHART_WITHIP = COLLECT + 'wps/logInstall/dailyChartWithIp';//日安装量分部详细
export const LOGINSTALL_MONTHCHART = COLLECT + 'wps/logInstall/monthChart';//月安装量分部汇总
export const LOGINSTALL_MONTHCHART_WITHIP = COLLECT + 'wps/logInstall/monthChartWithIp';//月安装量分部详细
export const LOGINSTALL_GETSTATISTICS = COLLECT + 'wps/logInstall/getStatistics';//月安装量统计展示

/* MSO信息 */
export const MSO_MONTHCHART = COLLECT + 'wps/mso/monthChart';//MSO信息分部汇总
export const MSO_MONTHCHART_WITHIP = COLLECT + 'wps/mso/monthChartWithIp';//MSO信息分部详细

/* 卸载信息 */
export const LOGUNINSTALL_DAILYCHART = COLLECT + 'wps/logUninstall/dailyChart';//卸载信息分部汇总
export const LOGUNINSTALL_MONTHCHART_WITHIP = COLLECT + 'wps/logUninstall/monthChartWithIp';//卸载信息分部详细

/***************************数据统计 End************************************/

/***************************升级管理 Start************************************/

/* 版本信息管理 */
export const VERSIONINFO_GET_PAGE = UPDATEPRO + 'wps/versionInfo/get/page';//版本信息管理分页查询
export const VERSIONINFO_GET_BYID = UPDATEPRO + 'wps/versionInfo/get';//版本信息管理根据id查询
export const VERSIONINFO_SAVE = UPDATEPRO + 'wps/versionInfo/save';//版本信息管理新增
export const VERSIONINFO_DELETE = UPDATEPRO + 'wps/versionInfo/delete';//版本信息管理删除
export const VERSIONINFO_UPDATE = UPDATEPRO + 'wps/versionInfo/update';//版本信息管理编辑
export const VERSIONINFO_UPDATE_TAG = UPDATEPRO + 'wps/versionInfo/update/tag';//版本信息管理启用禁用操作
export const VERSIONINFO_GET_LIST = UPDATEPRO + 'wps/versionInfo/get/list';//版本信息管理选用模板列表
export const VERSIONINFO_GET_EXPORT = UPDATEPRO + 'wps/versionInfo/get/export';//版本信息管理导出选定版本信息
export const VERSIONINFO_GET_IMPORT = UPDATEPRO + 'wps/versionInfo/save/import';//版本信息管理导入指定SQL文件信息
export const VERSIONINFO_GET_ISUSEDOFVERSION = UPDATEPRO + 'wps/versionInfo/isUsedOfVersion';//校验版本信息
/* 版本信息-设置信息部分 */
export const SETTINGSITEM_GET_PAGE = UPDATEPRO + 'wps/settingsItem/get/page';//分页
export const SETTINGSITEM_GET_BYID = UPDATEPRO + 'wps/settingsItem/get';//根据id查询
export const SETTINGSITEM_SAVE = UPDATEPRO + 'wps/settingsItem/save';//新增
export const SETTINGSITEM_DELETE = UPDATEPRO + 'wps/settingsItem/delete';//删除
export const SETTINGSITEM_UPDATE = UPDATEPRO + 'wps/settingsItem/update';//修改
export const SETTINGSITEM_VALIDATOR = UPDATEPRO + 'wps/settingsItem/validator';//校验设置信息
/* 版本信息-客户端信息部分 */
export const CLIENTINFO_GET_PAGE = UPDATEPRO + 'wps/clientInfo/get/page';//分页
export const CLIENTINFO_GET_BYID = UPDATEPRO + 'wps/clientInfo/get';//根据id查询
export const CLIENTINFO_SAVE = UPDATEPRO + 'wps/clientInfo/save';//新增
export const CLIENTINFO_DELETE = UPDATEPRO + 'wps/clientInfo/delete';//删除
export const CLIENTINFO_UPDATE = UPDATEPRO + 'wps/clientInfo/update';//修改
export const CLIENTINFO_VALIDATOR = UPDATEPRO + 'wps/clientInfo/validator';//校验客户端信息
/* 版本信息-泡泡信息部分 */
export const POPUPINFO_GET_PAGE = UPDATEPRO + 'wps/popupInfo/get/page';//分页
export const POPUPINFO_GET_BYID = UPDATEPRO + 'wps/popupInfo/get';//根据id查询
export const POPUPINFO_SAVE = UPDATEPRO + 'wps/popupInfo/save';//新增
export const POPUPINFO_DELETE = UPDATEPRO + 'wps/popupInfo/delete';//删除
export const POPUPINFO_UPDATE = UPDATEPRO + 'wps/popupInfo/update';//修改
export const POPUPINFO_VALIDATOR = UPDATEPRO + 'wps/popupInfo/validator';//校验泡泡信息
/* 版本信息-泡泡条件信息部分 */
export const CONDITIONPOPUP_GET_PAGE = UPDATEPRO + 'wps/conditionPopup/get/page';//分页
export const CONDITIONPOPUP_GET_BYID = UPDATEPRO + 'wps/conditionPopup/get';//根据id查询
export const CONDITIONPOPUP_SAVE = UPDATEPRO + 'wps/conditionPopup/save';//新增
export const CONDITIONPOPUP_DELETE = UPDATEPRO + 'wps/conditionPopup/delete';//删除
export const CONDITIONPOPUP_UPDATE = UPDATEPRO + 'wps/conditionPopup/update';//修改
/* 版本信息-升级包信息部分 */
export const PATCHINFO_GET_PAGE = UPDATEPRO + 'wps/patchInfo/get/page';//分页
export const PATCHINFO_GET_BYID = UPDATEPRO + 'wps/patchInfo/get';//根据id查询
export const PATCHINFO_SAVE = UPDATEPRO + 'wps/patchInfo/save';//新增
export const PATCHINFO_DELETE = UPDATEPRO + 'wps/patchInfo/delete';//删除
export const PATCHINFO_UPDATE = UPDATEPRO + 'wps/patchInfo/update';//修改
/* 版本信息-升级包条件信息 */
export const CONDITIONPATCH_GET_PAGE = UPDATEPRO + 'wps/conditionPatch/get/page';//分页
export const CONDITIONPATCH_GET_BYID = UPDATEPRO + 'wps/conditionPatch/get';//根据id查询
export const CONDITIONPATCH_SAVE = UPDATEPRO + 'wps/conditionPatch/save';//新增
export const CONDITIONPATCH_DELETE = UPDATEPRO + 'wps/conditionPatch/delete';//删除
export const CONDITIONPATCH_UPDATE = UPDATEPRO + 'wps/conditionPatch/update';//修改
/* 版本信息-动作信息部分 */
export const ACTIONS_GET_PAGE = UPDATEPRO + 'wps/actions/get/page';//分页
export const ACTIONS_GET_BYID = UPDATEPRO + 'wps/actions/get';//根据id查询
export const ACTIONS_SAVE = UPDATEPRO + 'wps/actions/save';//新增
export const ACTIONS_DELETE = UPDATEPRO + 'wps/actions/delete';//删除
export const ACTIONS_UPDATE = UPDATEPRO + 'wps/actions/update';//修改
export const ACTIONS_VALIDATOR = UPDATEPRO + 'wps/actions/validator';//校验动作信息
export const ACTIONS_GETINDEXDESC = UPDATEPRO + 'wps/actions/getIndexDesc';//根据vid获取动作信息的index值

/* 公共信息管理 */

//允许IP
export const ALLOW_IPS_GET_PAGE = `${UPDATEPRO}wps/allowIps/get/page`;//分页查询允许ip
export const ALLOW_IP_GET_BY_ID = `${UPDATEPRO}wps/allowIps/get`;//根据id查询允许ip
export const ALLOW_IP_SAVE_OR_EDIT = `${UPDATEPRO}wps/allowIps/save`;//新增或者编辑允许ip
export const ALLOW_IP_DELETE_BY_ID = `${UPDATEPRO}wps/allowIps/delete`;//根据id删除允许ip
export const ALLOW_IP_IMPORT = `${UPDATEPROTEST}wps/allowIps/save/import`;//导入excel
export const ALLOW_IP_EXPORT = `${UPDATEPROTEST}wps/allowIps/get/export`;//导出excel
//拒绝ip
export const DENY_IPS_GET_PAGE = `${UPDATEPRO}wps/denyIps/get/page`;//分页查询拒绝ip
export const DENY_IP_GET_BY_ID = `${UPDATEPRO}wps/denyIps/get`;//根据id查询拒绝ip
export const DENY_IP_SAVE_OR_EDIT = `${UPDATEPRO}wps/denyIps/save`;//新增或者编辑拒绝ip
export const DENY_IP_DELETE_BY_ID = `${UPDATEPRO}wps/denyIps/delete`;//根据id删除拒绝ip
export const DENY_IP_IMPORT = `${UPDATEPROTEST}wps/denyIps/save/import`;//导入excel
export const DENY_IP_EXPORT = `${UPDATEPROTEST}wps/denyIps/get/export`;//导出excel

//允许版本
export const ALLOW_VERSIONS_GET_PAGE = `${UPDATEPRO}wps/allowVersions/get/page`;//分页查询允许版本
export const ALLOW_VERSION_GET_BY_ID = `${UPDATEPRO}wps/allowVersions/get`;//根据id查询允许版本
export const ALLOW_VERSION_SAVE_OR_EDIT = `${UPDATEPRO}wps/allowVersions/save`;//新增或者编辑允许版本
export const ALLOW_VERSION_DELETE_BY_ID = `${UPDATEPRO}wps/allowVersions/delete`;//根据id删除允许版本
export const ALLOW_VERSON_VALIDATOR = `${UPDATEPRO}wps/allowVersions/validator`;//检验允许版本号
export const ALLOW_VERSON_IMPORT = `${UPDATEPROTEST}wps/allowVersions/save/import`;//导入excel
export const ALLOW_VERSON_EXPORT = `${UPDATEPROTEST}wps/allowVersions/get/export`;//导出excel
//拒绝版本
export const DENY_VERSIONS_GET_PAGE = `${UPDATEPRO}wps/denyVersions/get/page`;//分页查询拒绝版本
export const DENY_VERSION_GET_BY_ID = `${UPDATEPRO}wps/denyVersions/get`;//根据id查询拒绝版本
export const DENY_VERSION_SAVE_OR_EDIT = `${UPDATEPRO}wps/denyVersions/save`;//新增或者编辑拒绝版本
export const DENY_VERSION_DELETE_BY_ID = `${UPDATEPRO}wps/denyVersions/delete`;//根据id删除拒绝版本
export const DENY_VERSION_VALIDATOR = `${UPDATEPRO}wps/denyVersions/validator`;//检验拒绝版本号
export const DENY_VERSION_IMPORT = `${UPDATEPROTEST}wps/denyVersions/save/import`;//导入excel
export const DENY_VERSION_EXPORT = `${UPDATEPROTEST}wps/denyVersions/get/export`;//导出excel

//允许MAC
export const ALLOW_MACS_GET_PAGE = `${UPDATEPRO}wps/allowmacs/get/page`;//分页查询允许MAC
export const ALLOW_MAC_GET_BY_ID = `${UPDATEPRO}wps/allowmacs/get`;//根据id查询允许MAC
export const ALLOW_MAC_SAVE = `${UPDATEPRO}wps/allowmacs/save`;//新增允许MAC
export const ALLOW_MAC_UPDATE = `${UPDATEPRO}wps/allowmacs/update`;//编辑允许MAC
export const ALLOW_MAC_DELETE_BY_ID = `${UPDATEPRO}wps/allowmacs/delete`;//根据id删除允许MAC
export const ALLOW_MAC_VALIDATOR = `${UPDATEPRO}wps/allowmacs/validator`;//检验允许版MAC
export const ALLOW_MAC_IMPORT = `${UPDATEPROTEST}wps/allowmacs/save/import`;//导入excel
export const ALLOW_MAC_EXPORT = `${UPDATEPROTEST}wps/allowmacs/get/export`;//导出excel
//拒绝MAC
export const DENY_MACS_GET_PAGE = `${UPDATEPRO}wps/denymacs/get/page`;//分页查询拒绝MAC
export const DENY_MAC_GET_BY_ID = `${UPDATEPRO}wps/denymacs/get`;//根据id查询拒绝MAC
export const DENY_MAC_SAVE = `${UPDATEPRO}wps/denymacs/save`;//新增拒绝MAC
export const DENY_MAC_UPDATE = `${UPDATEPRO}wps/denymacs/update`;//编辑拒绝MAC
export const DENY_MAC_DELETE_BY_ID = `${UPDATEPRO}wps/denymacs/delete`;//根据id删除拒绝MAC
export const DENY_MAC_VALIDATOR = `${UPDATEPRO}wps/denymacs/validator`;//检验拒绝MAC
export const DENY_MAC_IMPORT = `${UPDATEPROTEST}wps/denymacs/save/import`;//导入excel
export const DENY_MAC_EXPORT = `${UPDATEPROTEST}wps/denymacs/get/export`;//导出excel

//语言配置
export const LANGUAGES_GET_PAGE = `${UPDATEPRO}wps/langInfo/get/page`;//分页查询语言配置
export const LANGUAGE_GET_BY_ID = `${UPDATEPRO}wps/langInfo/get`;//根据id查询语言配置
export const LANGUAGE_SAVE_OR_EDIT = `${UPDATEPRO}wps/langInfo/save`;//新增或者编辑语言配置
export const LANGUAGE_DELETE_BY_ID = `${UPDATEPRO}wps/langInfo/delete`;//根据id删除语言配置
export const LANGUAGE_VALIDATOR = `${UPDATEPRO}wps/langInfo/validator`;//检验语言编号

//下载服务器
export const DOWNLOADS_GET_PAGE = `${UPDATEPRO}wps/downloadInfo/get/page`;//分页查询下载服务器列表
export const DOWNLOAD_GET_BY_ID = `${UPDATEPRO}wps/downloadInfo/get`;//根据id查询下载服务器
export const DOWNLOAD_SAVE_OR_EDIT = `${UPDATEPRO}wps/downloadInfo/save`;//新增或者编辑下载服务器
export const DOWNLOAD_DELETE_BY_ID = `${UPDATEPRO}wps/downloadInfo/delete`;//根据id删除下载服务器
export const DOWNLOAD_VALIDATOR = `${UPDATEPRO}wps/downloadInfo/validator`;//检验服务器名成功
export const DOWNLOAD_IMPORT = `${UPDATEPRO}wps/downloadInfo/save/import`;//导入excel
export const DOWNLOAD_EXPORT = `${UPDATEPRO}wps/downloadInfo/get/export`;//导出excel

//公共设置信息
export const SETTING_COMMONS_GET_PAGE = `${UPDATEPRO}wps/settingsComm/get/page`;//分页查询公共信息设置
export const SETTING_COMMON_GET_BY_ID = `${UPDATEPRO}wps/settingsComm/get`;//根据id查询公共信息设置
export const SETTING_COMMON_SAVE = `${UPDATEPRO}wps/settingsComm/save`;//新增公共信息设置
export const SETTING_COMMON_UPDATE = `${UPDATEPRO}wps/settingsComm/update`;//编辑公共信息设置
export const SETTING_COMMON_DELETE_BY_ID = `${UPDATEPRO}wps/settingsComm/delete`;//根据id删除公共信息设置
export const SETTING_COMMON_VALIDATOR = `${UPDATEPRO}wps/settingsComm/validator`;//检验公共信息设置

//信息收集
export const COLLECT_INFOS_GET_PAGE = `${UPDATEPRO}wps/collectInfos/get/page`;//分页查询
export const COLLECT_INFOS_GET_BY_ID = `${UPDATEPRO}wps/collectInfos/get`;//根据id查询
export const COLLECT_INFOS_SAVE = `${UPDATEPRO}wps/collectInfos/save`;//新增
export const COLLECT_INFOS_UPDATE = `${UPDATEPRO}wps/collectInfos/update`;//编辑
export const COLLECT_INFOS_DELETE_BY_ID = `${UPDATEPRO}wps/collectInfos/delete`;//根据id删除
export const COLLECT_INFOS_VALIDATOR = `${UPDATEPRO}wps/collectInfos/validator`;//检验

//收集信息详情
export const COLLECT_INFO_GET_PAGE = `${UPDATEPRO}wps/collectInfo/get/page`;//分页查询
export const COLLECT_INFO_GET_BY_ID = `${UPDATEPRO}wps/collectInfo/get`;//根据id查询
export const COLLECT_INFO_SAVE = `${UPDATEPRO}wps/collectInfo/save`;//新增
export const COLLECT_INFO_UPDATE = `${UPDATEPRO}wps/collectInfo/update`;//编辑
export const COLLECT_INFO_DELETE_BY_ID = `${UPDATEPRO}wps/collectInfo/delete`;//根据id删除
export const COLLECT_INFO_VALIDATOR = `${UPDATEPRO}wps/collectInfo/validator`;//检验

/* 系统信息管理 */
//日志
export const SYSTEM_LOG = `${UPDATEPRO}wps/log/get/page`;

//系统信息-图表
export const LOGSTATUS_GET_CHART = `${UPDATEPRO}wps/logStatus/get/chart`;//准许/流量/状态报表查询
//系统信息-当前状态
export const LOGSTATUS_GET_STATUS = `${UPDATEPRO}wps/logStatus/get/status`; //获取表格数据
export const LOGSTATUS_GET_VALIDATOR = `${UPDATEPRO}wps/logStatus/get/validator`; //验证操作
export const LOGSTATUS_SYSNCREDIS = `${UPDATEPROTEST}wps/updateConfigurer/syncRedis`; //全量同步Redis
/***************************升级管理 End************************************/
